import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css'
// 如果模块分开导出很多个属性或方法时，这个时候需要用 * as ，意思是把所有导出的属性、方法放入到ajax对象你
import * as ajax from './request'

Vue.prototype.$http = ajax
Vue.use(vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
